package main.java.chessfootball.model.regulation;

/**
 * User: Igor
 * Date: 10.06.2011
 * Time: 22:25:27
 */
public enum Mode
{
	OUT_GAME(0, 0),
	IN_GAME(1, 1);

	private static Mode[] inverts = {Mode.IN_GAME, Mode.OUT_GAME};

	private int id;
	private int invert;

	Mode(int id, int invert)
	{
		this.id = id;
		this.invert = invert;
	}

	public int getId()
	{
		return id;
	}

	public Mode getInvert()
	{
		return inverts[invert];
	}
}
